function onefire()
for i = 1,10 do
if BulletInfo1[i].firing == true then
if Player.x > Enemyone.x then 
BulletInfo1[i].x = BulletInfo1[i].x + 10 
BulletInfo1[i].y = BulletInfo1[i].y + 5 
end
if Player.x < Enemyone.x then 
BulletInfo1[i].x = BulletInfo1[i].x - 10 
BulletInfo1[i].y = BulletInfo1[i].y + 10 
end
if BulletInfo1[i].direction == "up"  then 
BulletInfo1[i].y = BulletInfo1[i].y - 5 
BulletInfo1[i].x = BulletInfo1[i].x + 10
end
if Player.x == Enemyone.x then 
BulletInfo1[i].y = BulletInfo1[i].y + 10 
end

screen:blit(BulletInfo1[i].x,BulletInfo1[i].y,BulletInfo1[i].pic)
end
end
end